<div ng-include="sys_html('home/_header',true,true)"></div>
<style>
body {background: #f2f2f2;}
</style>
<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
	<div class="carousel-inner" role="listbox" style="height:300px">
		<div class="item active">
			<a href="#">
				<img src="../core/resource/images/banner-380.jpg" style="display: block; width: 100%; height: auto;"/>
			</a>
		</div>
	</div>
</div>
<div class="container-index container" style="background:#fff;margin-top:20px">
	<div class="row margin0">
	<div class="news">
        <!--<div class="left">
             <a ng-repeat="item in pagedata.groups" href="javascript:;" ng-click="access_json('home.news/','id='+item.id)">{{item.title}} <i class="fa fa-angle-double-right pull-right" style="padding-top:2px"></i></a>
        </div>-->
		<div class="right" style="border-left: 0 solid #ddd;width:100%;">
			 <div class="list">
				<h4>关于我们</h4>
				<p ng-bind-html="trust(pagedata.site.about)"></p>
				<h4>联系我们</h4>
				<p>公司名称：{{pagedata.site.cname}}</p>
				<p>公司电话：{{pagedata.site.phone}}</p>
				<p>联系QQ：{{pagedata.site.qq}}</p>
				<p>联系邮箱：{{pagedata.site.mail}}</p>
				<p>地址：{{pagedata.site.address}}</p>
				<p><div class="" style="width:100%; height:300px; border:#ccc solid 1px;" id="baidumap"></div></p>
			 </div>
        </div>
    </div>
	</div>
</div>
<script>
	require(['map'], function(BMap){
		var map = new BMap.Map("baidumap");
		var point=new BMap.Point(window.scope.pagedata.site.naddress.lng, window.scope.pagedata.site.naddress.lat);
		map.centerAndZoom(point, 11);
		//添加地图类型控件
		map.addControl(new BMap.MapTypeControl({
			mapTypes:[
				BMAP_NORMAL_MAP,
				BMAP_HYBRID_MAP
			]}));	  
		map.setCurrentCity("北京");
		map.enableScrollWheelZoom(true); 
		var marker2 = new BMap.Marker(point);
		map.addOverlay(marker2); 
	});
</script>
<div ng-include="sys_html('home/_footer',true,true)"></div>